﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AppSocketModel
{
    /// <summary>
    /// Token模型
    /// </summary>
    public class TokenDto
    {
        /// <summary>
        /// 说明
        /// </summary>
        public string Description { set; get; }
        /// <summary>
        /// 访问令牌
        /// </summary>
        public string AccessToken { set; get; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public int ExpiresIn { set; get; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime EndTime { set; get; }

        /// <summary>
        /// 当前登录账户
        /// </summary>
        public AccountDto Account { set; get; }


        /// <summary>
        /// 开启数据转发
        /// </summary>
        public bool IsRelay { set; get; }
    }
}
